home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 28
/
Volume 28 - JOGO DISK .iso
/
Games
/
dress_your_barbi.swf
/
scripts
/
frame_1
/
DoAction.as
Wrap
Text File
|
2006-11-13
|
677b
|
38 lines
function decoexe()
{
var _loc2_ = this;
var _loc1_ = 1;
while(_loc1_ <= deconum)
{
if(_loc1_ < 10)
{
_loc1_ = "0" + _loc1_;
}
_loc2_["yojo_" + _loc1_].onPress = function()
{
btdown(this._name);
};
_loc2_["yojo_" + _loc1_].onRelease = function()
{
btup(this._name);
};
_loc1_ = _loc1_ + 1;
}
}
function btdown(name)
{
var _loc1_ = name;
startDrag(_loc1_,0);
swnum++;
this[_loc1_].swapDepths(swnum);
this[_loc1_].depth = swnum;
deconame = _loc1_;
}
function btup(name)
{
stopDrag();
}
deconum = 100;
stop();
decoexe();